<?php
/**
 * Created by PhpStorm.
 * User: 小蛮哼哼哼
 * Email: 243194993@qq.com
 * Date: 2021/10/22
 * Time: 16:04
 * motto: 现在的努力是为了小时候吹过的牛逼！
 */

declare(strict_types=1);

namespace app\common\validate;


class Venue extends Base
{
    protected $rule = [
        "title" => "require",
        "provinces" => "require",
        "cities" => "require",
        "areas" => "require",
        "address" => "require",
        "address_name" => "require",
        "address_data" => "require",
        "thumb" => "require",
        "thumb_img" => "require",
        "remark" => "max:200"
    ];
    protected $message = [
        "title.require" => "剧场名称不能为空",
        "provinces.require" => "请选择城市",
        "cities.require" => "请选择所在地",
        "areas.require" => "请选择所在地",
        "address.require" => "请选择定位",
        "address_name.require" => "请重新选择定位",
        "address_data.require" => "请重新选择定位",
        "thumb.require" => "请上传图片",
        "thumb_img.require" => "请上传缩略图片",
        "remark.require" => "请填写剧场描述",
    ];
    protected $scene = [
        "add" => ['title', 'provinces', 'areas', 'address', 'address_name', 'address_data', 'thumb', 'thumb_img', 'remark']
    ];
}